<%@ Page Language="C#" MasterPageFile="~/MasterPage/CustomerMasterPage.master" AutoEventWireup="true" CodeFile="ViewCart.aspx.cs" Inherits="CustomerPage_ViewCart" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center>
    <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
        <asp:View ID="View1" runat="server">
            <br />
            <br />
            <table style="width: 461px; height: 139px">
                <tr>
                    <td style="width: 353px; height: 43px">
                    </td>
                    <td style="height: 43px">
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="height: 140px">
    <asp:GridView ID="gvCart" runat="server" AutoGenerateColumns="False" Height="123px"
        Width="693px">
        <Columns>
            <asp:TemplateField HeaderText="Remove">
                <ItemTemplate>
                    <asp:CheckBox ID="cbRemove" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="ID" HeaderText="ID" />
            <asp:BoundField DataField="Product" HeaderText="Product" />
            <asp:BoundField DataField="SecurityDeposit" HeaderText="SecurityDeposit" />
            <asp:TemplateField HeaderText="Amount">
                <ItemTemplate>
                    <asp:TextBox ID="txtAmount" runat="server" Text='<%# Eval("Amount") %>' Width="64px"></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="totalSecurityDeposit" HeaderText="totalSecurityDeposit" />
        </Columns>
    </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td style="width: 353px; height: 25px">
                    </td>
                    <td style="height: 25px">
                        <asp:Button ID="btUpdate" runat="server" Text="Update" OnClick="btUpdate_Click" />
                        &nbsp;&nbsp;
                        <asp:Button ID="btEmpty" runat="server" OnClick="btEmpty_Click" Text="Empty Cart" />
                        &nbsp; &nbsp;<asp:Button ID="btCheckOut" runat="server" Text="Check Out" /><br />
                        <asp:Label ID="lbMess" runat="server" ForeColor="Green" Width="103px" Font-Size="Small"></asp:Label></td>
                </tr>
                <tr>
                    <td style="height: 132px" align="left" colspan="2" valign="top">
                        SecurityDeposit : &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        <asp:Label ID="lbSecurityDeposit" runat="server" Text="Label"></asp:Label>&nbsp;
                        $<br />
                        <br />
                        discountSecurityDeposit :&nbsp; &nbsp;
                        <asp:Label ID="lbdiscountSecurityDeposit" runat="server" Text="Label"></asp:Label>
                        $<br />
                        ----------------------------------<br />
                        totalSecurityDeposit &nbsp; &nbsp; &nbsp; : &nbsp;&nbsp;
                        <asp:Label ID="lbTatalSecurityDeposit" runat="server" Text="Label"></asp:Label>&nbsp;
                        $<br />
                        <br />
                        you has order &nbsp;<asp:Label ID="lbCountPlan" runat="server" Text="Label" Width="34px"></asp:Label>
                        (s) connection ! &nbsp;<br />
                    </td>
                </tr>
                <tr>
                    <td style="width: 353px; height: 25px">
                    </td>
                    <td style="height: 25px">
                    </td>
                </tr>
            </table>
        </asp:View>
        <asp:View ID="View2" runat="server">
            &nbsp;Your Cart is Empty</asp:View>
    </asp:MultiView>
    </center>
</asp:Content>

